package cn.wuxing.mediation.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wuxing.mediation.common.annotation.Excel;
import cn.wuxing.mediation.common.core.domain.BaseEntity;

/**
 * 领导值班安排对象 lead_duty_arrangement
 *
 * @author mediation
 * @date 2024-10-12
 */
public class LeadDutyArrangement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 职务 */
    @Excel(name = "职务")
    private String office;

    /** 值班日期 */
    @Excel(name = "值班日期")
    private String dutyDate;

    private String startTime;

    private String endTime;

    /** 0:正常 1：删除 */
    private String delFlag;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setOffice(String office)
    {
        this.office = office;
    }

    public String getOffice()
    {
        return office;
    }
    public void setDutyDate(String dutyDate)
    {
        this.dutyDate = dutyDate;
    }

    public String getDutyDate()
    {
        return dutyDate;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("office", getOffice())
            .append("dutyDate", getDutyDate())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
